package com.xuecheng.api.learning;

import com.xuecheng.framework.domain.learning.response.GetMediaResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;

@Api(value = "视频学习管理",tags = {"获取视频播放地址"})
public interface CourseLearningControllerApi {
    /**
     * 根据课程id查询视频URL
     * @param courseId 课程ID
     * @param teachplanId 某个节点的Id
     * @return 结果
     */
    @ApiOperation("根据课程id查询视频URL")
    @ApiImplicitParams({
            @ApiImplicitParam(name = "courseId",value = "课程ID",paramType = "path"),
            @ApiImplicitParam(name = "teachplanId",value = "某个节点的Id",paramType = "path")
    })
    GetMediaResult getMedia(String courseId,String teachplanId);
}
